package com.common.sp;


/**
 * 缓存JSON用
 * Created by wgf on 2016/7/25.
 */
public class JsonSp {

    /** 首页菜单1数据 */
    public static String getHouseKeeperMenu1Json() {
        return SharedPreferUtil.getInstance().getString(SharedPreferUtil.APP_INFO, "houseKeeperMenu1Json", "");
    }

    public static void setHouseKeeperMenu1Json(String houseKeeperMenu1Json) {
        SharedPreferUtil.getInstance().putString(SharedPreferUtil.APP_INFO, "houseKeeperMenu1Json", houseKeeperMenu1Json);
    }

    /** 首页菜单2数据 */
    public static String getHouseKeeperMenu2Json() {
        return SharedPreferUtil.getInstance().getString(SharedPreferUtil.APP_INFO, "houseKeeperMenu2Json", "");
    }

    public static void setHouseKeeperMenu2Json(String houseKeeperMenu1Json) {
        SharedPreferUtil.getInstance().putString(SharedPreferUtil.APP_INFO, "houseKeeperMenu2Json", houseKeeperMenu1Json);
    }
}
